package com.hibase.core.page.entity.menuxml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import lombok.Data;

import java.util.List;

/**
 * 描述:
 *
 * @author li-wei-hua
 * @date 2021-03-19 10:39
 */
@Data
public class MenuXmlVO {

    @XStreamAsAttribute
    @XStreamAlias("id")
    private String id ;

    @XStreamAsAttribute
    @XStreamAlias("title")
    private String title ;


    @XStreamAsAttribute
    @XStreamAlias("icon")
    private String icon;

    @XStreamAsAttribute
    @XStreamAlias("path")
    private String path ;

    @XStreamAsAttribute
    @XStreamAlias("sort")
    private String sort ;

    @XStreamImplicit(itemFieldName = "itemMenu")
    private List<ItemMenuXmlVO> children ;


}
